[INFO] cloning repository https://github.com/justin-uy/rock_paper_scissors
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/justin-uy/rock_paper_scissors" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustin-uy%2Frock_paper_scissors", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustin-uy%2Frock_paper_scissors'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f352eae9139a1dcc8fbb65297f9688ebca983518
[INFO] checking justin-uy/rock_paper_scissors against master#2e677c0645862d17a12c6d04b3019203c8e23fcc for pr-106493
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustin-uy%2Frock_paper_scissors" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/justin-uy/rock_paper_scissors on toolchain 2e677c0645862d17a12c6d04b3019203c8e23fcc
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/justin-uy/rock_paper_scissors
[INFO] finished tweaking git repo https://github.com/justin-uy/rock_paper_scissors
[INFO] tweaked toml for git repo https://github.com/justin-uy/rock_paper_scissors written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/justin-uy/rock_paper_scissors already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0e71d0f9c963a9fd840fecc3550e4ddeddc38bc52d1c8e575dacb80a34e157df
[INFO] running `Command { std: "docker" "start" "-a" "0e71d0f9c963a9fd840fecc3550e4ddeddc38bc52d1c8e575dacb80a34e157df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0e71d0f9c963a9fd840fecc3550e4ddeddc38bc52d1c8e575dacb80a34e157df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0e71d0f9c963a9fd840fecc3550e4ddeddc38bc52d1c8e575dacb80a34e157df", kill_on_drop: false }`
[INFO] [stdout] 0e71d0f9c963a9fd840fecc3550e4ddeddc38bc52d1c8e575dacb80a34e157df
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] eb0f22561d3b02fedb5b7cfe8e5a7d7e747eee5a072670059174db316d6b1e5c
[INFO] running `Command { std: "docker" "start" "-a" "eb0f22561d3b02fedb5b7cfe8e5a7d7e747eee5a072670059174db316d6b1e5c", kill_on_drop: false }`
[INFO] [stderr]     Checking libc v0.2.29
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking lazy_static v0.2.8
[INFO] [stderr]     Checking regex-syntax v0.4.1
[INFO] [stderr]     Checking utf8-ranges v1.0.0
[INFO] [stderr]     Checking unreachable v1.0.0
[INFO] [stderr]     Checking thread_local v0.3.4
[INFO] [stderr]     Checking memchr v1.0.1
[INFO] [stderr]     Checking rand v0.3.16
[INFO] [stderr]     Checking aho-corasick v0.6.3
[INFO] [stderr]     Checking regex v0.2.2
[INFO] [stderr]     Checking rock_paper_scissors v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:178:34
[INFO] [stdout]     |
[INFO] [stdout] 178 |         assert_eq!(Choice::parse(String::from("rock")).unwrap(), Choice::Rock);
[INFO] [stdout]     |                    ------------- ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                    |             |
[INFO] [stdout]     |                    |             expected `&str`, found struct `String`
[INFO] [stdout]     |                    |             help: consider borrowing here: `&String::from("rock")`
[INFO] [stdout]     |                    arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/main.rs:53:8
[INFO] [stdout]     |
[INFO] [stdout] 53  |     fn parse(s: &str) -> Result<Self, String> {
[INFO] [stdout]     |        ^^^^^ -------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:179:34
[INFO] [stdout]     |
[INFO] [stdout] 179 |         assert_eq!(Choice::parse(String::from("paper")).unwrap(), Choice::Paper);
[INFO] [stdout]     |                    ------------- ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                    |             |
[INFO] [stdout]     |                    |             expected `&str`, found struct `String`
[INFO] [stdout]     |                    |             help: consider borrowing here: `&String::from("paper")`
[INFO] [stdout]     |                    arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/main.rs:53:8
[INFO] [stdout]     |
[INFO] [stdout] 53  |     fn parse(s: &str) -> Result<Self, String> {
[INFO] [stdout]     |        ^^^^^ -------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:180:34
[INFO] [stdout]     |
[INFO] [stdout] 180 |         assert_eq!(Choice::parse(String::from("scissors")).unwrap(),
[INFO] [stdout]     |                    ------------- ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                    |             |
[INFO] [stdout]     |                    |             expected `&str`, found struct `String`
[INFO] [stdout]     |                    |             help: consider borrowing here: `&String::from("scissors")`
[INFO] [stdout]     |                    arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/main.rs:53:8
[INFO] [stdout]     |
[INFO] [stdout] 53  |     fn parse(s: &str) -> Result<Self, String> {
[INFO] [stdout]     |        ^^^^^ -------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:184:34
[INFO] [stdout]     |
[INFO] [stdout] 184 |         assert_eq!(Choice::parse(String::from("RockKK")).unwrap(), Choice::Rock);
[INFO] [stdout]     |                    ------------- ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                    |             |
[INFO] [stdout]     |                    |             expected `&str`, found struct `String`
[INFO] [stdout]     |                    |             help: consider borrowing here: `&String::from("RockKK")`
[INFO] [stdout]     |                    arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/main.rs:53:8
[INFO] [stdout]     |
[INFO] [stdout] 53  |     fn parse(s: &str) -> Result<Self, String> {
[INFO] [stdout]     |        ^^^^^ -------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:185:34
[INFO] [stdout]     |
[INFO] [stdout] 185 |         assert_eq!(Choice::parse(String::from("paperzzzz")).unwrap(),
[INFO] [stdout]     |                    ------------- ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                    |             |
[INFO] [stdout]     |                    |             expected `&str`, found struct `String`
[INFO] [stdout]     |                    |             help: consider borrowing here: `&String::from("paperzzzz")`
[INFO] [stdout]     |                    arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/main.rs:53:8
[INFO] [stdout]     |
[INFO] [stdout] 53  |     fn parse(s: &str) -> Result<Self, String> {
[INFO] [stdout]     |        ^^^^^ -------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:187:34
[INFO] [stdout]     |
[INFO] [stdout] 187 |         assert_eq!(Choice::parse(String::from("12341234scissorsacdkakd")).unwrap(),
[INFO] [stdout]     |                    ------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                    |             |
[INFO] [stdout]     |                    |             expected `&str`, found struct `String`
[INFO] [stdout]     |                    |             help: consider borrowing here: `&String::from("12341234scissorsacdkakd")`
[INFO] [stdout]     |                    arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/main.rs:53:8
[INFO] [stdout]     |
[INFO] [stdout] 53  |     fn parse(s: &str) -> Result<Self, String> {
[INFO] [stdout]     |        ^^^^^ -------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:191:34
[INFO] [stdout]     |
[INFO] [stdout] 191 |         assert_eq!(Choice::parse(String::from("RockPaperScissors")).unwrap(),
[INFO] [stdout]     |                    ------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                    |             |
[INFO] [stdout]     |                    |             expected `&str`, found struct `String`
[INFO] [stdout]     |                    |             help: consider borrowing here: `&String::from("RockPaperScissors")`
[INFO] [stdout]     |                    arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/main.rs:53:8
[INFO] [stdout]     |
[INFO] [stdout] 53  |     fn parse(s: &str) -> Result<Self, String> {
[INFO] [stdout]     |        ^^^^^ -------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rock_paper_scissors` due to 8 previous errors
[INFO] running `Command { std: "docker" "inspect" "eb0f22561d3b02fedb5b7cfe8e5a7d7e747eee5a072670059174db316d6b1e5c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eb0f22561d3b02fedb5b7cfe8e5a7d7e747eee5a072670059174db316d6b1e5c", kill_on_drop: false }`
[INFO] [stdout] eb0f22561d3b02fedb5b7cfe8e5a7d7e747eee5a072670059174db316d6b1e5c
